package com.example.course.bean;

public class School {
    private Integer id;
    private String name;
    private String detail;
    private String mainImage;

    @Override
    public String toString() {
        return "School{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", detail='" + detail + '\'' +
                ", mainImage='" + mainImage + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getMainImage() {
        return mainImage;
    }

    public void setMainImage(String mainImage) {
        this.mainImage = mainImage;
    }

    public School(Integer id, String name, String detail, String mainImage) {
        this.id = id;
        this.name = name;
        this.detail = detail;
        this.mainImage = mainImage;
    }

    public School() {
    }
}
